import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.charset.StandardCharsets;

public class Test {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("./src/name.txt");
        byte[] bytes = new byte[30];
        fis.read(bytes);
        String str = new String(bytes);
        System.out.println(str);
        fis.close();


    }
}
